package com.freewater.library.lending.checkedoutsheet.infrastructure.spring;

import com.freewater.library.lending.checkedoutsheet.infrastructure.dao.CheckedOutRecordDao;
import jakarta.persistence.EntityManager;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class CheckedOutSheetSpringConfiguration {

    @Bean
    public CheckedOutRecordDao checkedOutRecordDao(EntityManager entityManager) {
        return new CheckedOutRecordDao(entityManager);
    }
}
